﻿#region Usings

using System;
using System.Runtime.Serialization;

#endregion

namespace Rail.Net.Core.Model
{
    [Serializable]
    [DataContract]
    public class ContengentTrainNumber : BaseIdentifiable
    {
        [DataMember]
        public string TrainNumber { get; set; }

        [DataMember]
        public bool Include { get; set; }

        [DataMember]
        public bool Domestic { get; set; }

        [DataMember]
        public bool International { get; set; }

        [DataMember]
        public DateTime? ValidFrom { get; set; }

        [DataMember]
        public DateTime? ValidTo { get; set; }
    }
}